package com.dy.树与二叉树.二叉树.链式存储;

public class BiTreeNode {
    public Object data;
    public BiTreeNode lchild,rchild;
    public int height;
    public BiTreeNode(){
        this.height=1;
    }

    public BiTreeNode(Object data) {
        this.data = data;
        this.height=1;
    }

    public BiTreeNode(Object data, BiTreeNode lchild, BiTreeNode rchild) {
        this.data = data;
        this.lchild = lchild;
        this.rchild = rchild;
        this.height=1;
    }


}
